package com.lbmb.mdps.workbench.service;

import com.lbmb.mdps.commons.domain.MedicineTypeReceive;
import com.lbmb.mdps.commons.domain.MedicineTypeVo;
import com.lbmb.mdps.commons.exception.MedicineTypeException;
import com.lbmb.mdps.workbench.domain.MedicineType;

import java.util.List;

/**
 * @author 林文塨
 * @date 2022-05-30 23:11
 * description
 */
public interface MedicineTypeService {

    List<MedicineType> medicineTypePageList(MedicineTypeReceive medicineTypeReceive) throws MedicineTypeException;

    Integer getMedicineTypeTotal(MedicineTypeReceive medicineTypeReceive) throws MedicineTypeException;

    void addMedicineType(MedicineType medicineType) throws MedicineTypeException;

    void editMedicineType(MedicineType medicineType) throws MedicineTypeException;

    void deleteMedicineType(String[] deleteMedicineTypeIds) throws MedicineTypeException;

    List<MedicineTypeVo> getAllMedicineType();
}
